package com.wn.service;

import com.wn.bean.Owner;
import com.wn.dao.OwnerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yellow Docter
 * @date 2024-06-26
 * @desc 蜗牛创想：www.woniuxy.com
 */
@Service
public class OwnerService {

    @Autowired
    private OwnerMapper ownerMapper;

    public Owner getOwnerById(int id){
        return ownerMapper.selectOwnerById(id);
    }
}
